sum = 0  # 素数之和
for i in range(2, 101):
    is_prime = True  # 判断是否为素数
    for j in range(2, i):
        if i % j == 0:
            is_prime = False
            break
    if is_prime:
        sum += i
print(sum)

k = 10000
while k > 1:
    print(k)
    k = k / 2
